public class demo06 {
    public static void main(String[] args) {
        double sum=1;
        for (int i = 1; i <= 7; i++) {
            sum = sum * i;
        }
        System.out.println("这个彩票的中奖几率为："+ 1 / sum * 100+"%");
    }
}
